package com.ss.android.article.base.feature.f.a;

import android.util.Log;
import android.view.SurfaceHolder;
import com.ss.android.m.a.a;

final class d implements Runnable {
    private final b b;
    private final String a;

    d(b arg1, String arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final void run() {
        if(this.b.h.h != null) {
            ((com.ss.android.article.base.feature.f.b.a)b.a(this.b)).a = false;
            ((com.ss.android.article.base.feature.f.b.a)b.b(this.b)).b = false;
            b.l();
            b v0 = this.b;
            SurfaceHolder v1 = this.b.h.h;
            if(((a)v0).q) {
                ((a)v0).o();
            }

            ((a)v0).o.obtainMessage(109, v1).sendToTarget();
            if(((a)v0).p != null) {
                Log.d(((a)v0).p.a, "doSetDisplay");
            }

            this.b.a(this.a);
            this.b.i();
            this.b.e.postDelayed(this.b.g, b.k());
        }
    }
}

